/*
 * channel.h
 *
 *  Created on: Oct 12, 2011
 *      Author: welcome
 */

#ifndef CHANNEL_H_
#define CHANNEL_H_

#include <rdesktop.h>

#ifdef __cplusplus
extern "C" {
#endif

extern VCHANNEL *channel_register(char *name, uint32 flags, void (*callback) (STREAM));
extern STREAM channel_init(VCHANNEL * channel, uint32 length);
extern void channel_send(STREAM s, VCHANNEL * channel);
extern void channel_process(STREAM s, uint16 mcs_channel);

#ifdef __cplusplus
}
#endif

#endif /* CHANNEL_H_ */
